package com.linsy.product.redis.mq.constant;

public enum BooleanEnum {
    /**
     * 关于表示是否的统一使用该枚举类
     */
    YES(1, "是"),
    NO(0, "否");

    public static final Integer TRUE = 1;
    public static final Integer FALSE = 0;

    private Integer value;
    private String description;

    BooleanEnum(Integer value, String description) {
        this.value = value;
        this.description = description;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
